<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/info-mgt.css" />
	<link rel="stylesheet" href="css/WdatePicker.css" />
	<link rel="stylesheet" type="text/css" href="css/jquery.dialog.css" />
	<link rel="stylesheet" href="css/index.css" />
	<title>毕业生简历管理系统</title>
	<script type="text/javascript" src="js/jquery.js"></script>
<style type="text/css">
	a:link {
 	font-size: 12px;
 	color: #000000;
	text-decoration: none;
	}
	a:visited {
	font-size: 12px;
	color: #000000;
 	text-decoration: none;
	}
	a:hover {
 	font-size: 12px;
 	color: #999999;
 	text-decoration: none;
	}
	svg:hover{
		transform: scale(1.2);
	}
	h1{
		font-family: 华文行楷;
	}
</style>
</head>

<body>
<div id="container">
	<div id="hd">
		<div class="hd-wrap ue-clear">
			<div class="top-light"></div>
			<h1>毕业生简历管理系统</h1>
			<div class="login-info ue-clear">
				<div class="welcome ue-clear"><span>欢迎您,</span><a href="employerRecommend?e_id=${employer.e_id}" class="user-name">${employer.name}</a></div>
			</div>
			<div class="toolbar ue-clear">
				<a href="employerExit" class="quit-btn exit"></a>
			</div>
		</div>
	</div>
	<div id="bd">
		<div class="wrap ue-clear">
			<div class="sidebar">
				<h2 class="sidebar-header"><p>功能导航</p></h2>
				<ul class="nav">
					<li class="recommend"><div class="nav-header" onclick="employerSkip1()"><a  class="ue-clear"><span>内容推荐</span></a></div></li>
					<li class="position_manage"><div class="nav-header" onclick="employerSkip8()"><a class="ue-clear"><span>招聘岗位管理</span></a></div>
					<li class="search"><div class="nav-header" onclick="employerSkip7()"><a class="ue-clear"><span>人才搜索</span></a></div></li>
					<li class="inform"><div class="nav-header" onclick="employerSkip5()" ><a  class="ue-clear"><span>求职者通知</span></a></div></li>
					<li class="manage"><div class="nav-header" onclick="employerSkip6()" ><a  class="ue-clear"><span>聘用信息反馈</span></a></div></li>
				</ul>
			</div>
			<div class="content">
				<div class="title"><h2>应聘者名单</h2></div>
				<div class="table-box">
					<table>
						<thead>
						<tr>
							<th class="num">序号</th>
							<th class="num">姓名</th>
							<th class="num">专业</th>
							<th class="num">毕业学校</th>
							<th class="num">薪资要求</th>
							<th class="num">查看/联系</th>
							<th class="num">简历</th>
							<th class="num">面试</th>
						</tr>
						</thead>
						<tbody>
						<c:forEach items="${employees}" var="employee"  begin="0" varStatus="status">
						<tr>
							<td class="num">${status.count}</td>
							<td class="num">${employee.name}</td>
							<td class="num">${employee.major}</td>
							<td class="num">&nbsp;${employee.school}</td>
							<td class="num">${employee.salary_requirement}</td>
							<td class="num">
								<a class="num" style="color:blue" href="candidateInfo?c_id=${employee.c_id}" title="详细信息">
									<svg t="1648472204377" class="icon" viewBox="0 0 1304 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="22759" width="35" height="35"><path d="M1078.06466969 815.07975268H758.54757525l-76.52300154 98.00314207c-18.79512286 22.82264978-52.35784332 28.19268512-75.1804931 9.39756142-4.02752609-2.68501767-6.71254376-5.37003534-9.39756142-9.39756142L520.92351765 815.07975268H218.85903765c-59.07038708 0-107.40070432-48.33031723-107.40070432-107.40070431V197.52570432c0-59.07038708 48.33031723-107.40070432 107.40070432-107.40070432h859.20563205c59.07038708 0 107.40070432 48.33031723 107.40070431 107.40070432v510.15334405c0 59.07038708-48.33031723 107.40070432-107.40070431 107.40070431z" fill="#2F77F1" p-id="22760"></path><path d="M406.81026958 385.47693625c37.59024655 0 67.12544009 29.53519354 67.1254401 67.1254401s-29.53519354 67.12544009-67.1254401 67.12544009-67.12544009-29.53519354-67.1254401-67.12544009 29.53519354-67.12544009 67.1254401-67.1254401z m241.6515845 0c37.59024655 0 67.12544009 29.53519354 67.12543928 67.1254401s-29.53519354 67.12544009-67.12543928 67.12544009-67.12544009-29.53519354-67.12544009-67.12544009 29.53519354-67.12544009 67.12544009-67.1254401z m241.65158368 0c37.59024655 0 67.12544009 29.53519354 67.1254401 67.1254401s-29.53519354 67.12544009-67.1254401 67.12544009-67.12544009-29.53519354-67.1254401-67.12544009 29.53519354-67.12544009 67.1254401-67.1254401z" fill="#AFFCFE" p-id="22761"></path></svg>
								</a>
								<a class="num" style="color:blue" href="/employerWebSocket${sessionScope.employer.name}?c_name=${employee.name}" title="在线交流">
									<svg t="1648472014997" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13327" width="35" height="35"><path d="M881.19808 227.28704h-71.92064V203.008c0-44.19584-34.21184-80.14848-76.25728-80.14848H147.93216C105.87648 122.88 71.68 158.81216 71.68 203.008v393.088c0 44.19584 34.21184 80.1536 76.288 80.1536h46.86336l-1.024 79.64672a45.24032 45.24032 0 0 0 26.78784 42.33216 42.65984 42.65984 0 0 0 17.13664 3.584 43.28448 43.28448 0 0 0 29.94688-12.11392l11.53024-11.04384a73.05216 73.05216 0 0 0 16.95232 2.00704H643.072l118.43072 113.46432A43.25888 43.25888 0 0 0 791.4496 906.24a42.66496 42.66496 0 0 0 17.13152-3.584 45.21984 45.21984 0 0 0 26.78272-42.32192l-1.024-79.65696h46.85824c42.05056 0 76.2624-35.95776 76.2624-80.14848V307.44064c-0.02048-44.19584-34.21184-80.1536-76.2624-80.1536zM237.42464 633.46688a43.008 43.008 0 0 0-30.86336-13.04576H147.93216c-11.40224 0-20.67456-10.91584-20.67456-24.32512V203.008c0-13.40928 9.27744-24.32 20.67456-24.32h585.088c11.39712 0 20.66944 10.91072 20.66944 24.32v393.088c0 13.40928-9.27232 24.32512-20.66944 24.32512H381.07648a43.12064 43.12064 0 0 0-29.92128 12.11904l-101.45792 97.2032 0.8192-63.4112a46.3104 46.3104 0 0 0-13.09184-32.86528z m664.448 67.072c0 13.40928-9.27744 24.32512-20.67456 24.32512h-58.63424a43.008 43.008 0 0 0-30.86848 13.05088 46.3104 46.3104 0 0 0-13.07648 32.87552l0.81408 63.3856-101.44768-97.2032a43.08992 43.08992 0 0 0-29.93152-12.12416H335.3344l50.7136-48.59904h346.96192c42.04544 0 76.25728-35.95776 76.25728-80.1536V283.136h71.92064c11.39712 0 20.67456 10.91584 20.67456 24.32512v393.08288z" fill="#2966C1" p-id="13328"></path><path d="M338.20672 405.73952c0-29.21472-22.2208-52.89984-49.63328-52.89984s-49.63328 23.68512-49.63328 52.89984 22.2208 52.89984 49.63328 52.89984 49.63328-23.68512 49.63328-52.89984z m153.91744 0c0-29.21472-22.2208-52.89984-49.63328-52.89984S392.8576 376.5248 392.8576 405.73952s22.2208 52.89984 49.6384 52.89984 49.63328-23.68512 49.63328-52.89984z m161.792 0c0-29.21472-22.22592-52.89984-49.6384-52.89984s-49.63328 23.68512-49.63328 52.89984 22.2208 52.89984 49.63328 52.89984 49.64352-23.68512 49.64352-52.89984z" fill="#FD9A16" p-id="13329"></path></svg>
								</a>
							</td>
							<td class="num">
								<c:if test="${candidateEmployeeMap.get(employee).cv_isAgree==1}">
									<lable class="num">已同意</lable>
								</c:if>
								<c:if test="${candidateEmployeeMap.get(employee).cv_isAgree==-1}">
									<lable class="num" title="已拒绝">已拒绝</lable>
								</c:if>
								<c:if test="${candidateEmployeeMap.get(employee).cv_isAgree==0}">
									<a class="num" style="color:red" id="inform" href="agreeCV?c_id=${employee.c_id}&&e_id=${sessionScope.employer.e_id}&&cv_isAgree=1" title="同意">
										<svg t="1648475957693" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="50649" width="35" height="35"><path d="M512.1 62C263.9 61.9 62.3 263.4 62 511.7 61.7 759.8 263 961.4 511.5 962c248.3 0.6 450.5-201.5 450.5-450.1C962 263.7 760.4 62.1 512.1 62z m-76.3 638.2C373.2 637.6 310.3 574.7 248 512.5c11.4-11.4 23.2-23.1 34.7-34.5 49.4 49.5 100.1 100.1 150.6 150.7 103-103.1 204.6-204.7 305.5-305.6 13.4 13.4 25.5 25.5 37.2 37.1-112.8 112.7-226.7 226.5-340.2 340z" fill="#00AAE8" p-id="50650"></path></svg>
									</a>
									<a class="num" style="color:red" id="inform" href="disagreeCV?c_id=${employee.c_id}&&e_id=${sessionScope.employer.e_id}&&cv_isAgree=-1" title="拒绝">
										<svg t="1648476038580" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="51332" width="35" height="35"><path d="M511.6 62.9C263.3 62.9 62 264.2 62 512.4 62 760.7 263.3 962 511.6 962s449.6-201.3 449.6-449.6c-0.1-248.2-201.4-449.5-449.6-449.5z m193.9 593.4l-44.8 44.9-144.5-139.7-139.4 139.8-49.8-45 144.4-139.7L327 371.9l49.8-44.9 139.5 139.7L660.6 327l44.8 44.9L561 516.6l144.5 139.7z" fill="#FA5A5A" p-id="51333"></path></svg>
									</a>
								</c:if>
							</td>
							<td class="num">
								<c:choose>
									<c:when test="${candidateEmployeeMap.get(employee).cv_isAgree==-1}">
										<lable class="num">不满足面试资格</lable>
									</c:when>
									<c:otherwise>
										<c:if test="${candidateEmployeeMap.get(employee).interview_isAgree==1}">
											<lable class="num">已同意</lable>
										</c:if>
										<c:if test="${candidateEmployeeMap.get(employee).interview_isAgree==-1}">
											<lable class="num" title="已拒绝">已拒绝</lable>
										</c:if>
										<c:if test="${candidateEmployeeMap.get(employee).interview_isAgree==0}">
											<a class="num" style="color:red" id="inform" href="agreeInterview?c_id=${employee.c_id}&&e_id=${sessionScope.employer.e_id}&&interview_isAgree=1" title="同意">
												<svg t="1648475957693" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="50649" width="35" height="35"><path d="M512.1 62C263.9 61.9 62.3 263.4 62 511.7 61.7 759.8 263 961.4 511.5 962c248.3 0.6 450.5-201.5 450.5-450.1C962 263.7 760.4 62.1 512.1 62z m-76.3 638.2C373.2 637.6 310.3 574.7 248 512.5c11.4-11.4 23.2-23.1 34.7-34.5 49.4 49.5 100.1 100.1 150.6 150.7 103-103.1 204.6-204.7 305.5-305.6 13.4 13.4 25.5 25.5 37.2 37.1-112.8 112.7-226.7 226.5-340.2 340z" fill="#00AAE8" p-id="50650"></path></svg>
											</a>
											<a class="num" style="color:red" id="inform" href="disagreeInterview?c_id=${employee.c_id}&&e_id=${sessionScope.employer.e_id}&&interview_isAgree=-1" title="拒绝">
												<svg t="1648476038580" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="51332" width="35" height="35"><path d="M511.6 62.9C263.3 62.9 62 264.2 62 512.4 62 760.7 263.3 962 511.6 962s449.6-201.3 449.6-449.6c-0.1-248.2-201.4-449.5-449.6-449.5z m193.9 593.4l-44.8 44.9-144.5-139.7-139.4 139.8-49.8-45 144.4-139.7L327 371.9l49.8-44.9 139.5 139.7L660.6 327l44.8 44.9L561 516.6l144.5 139.7z" fill="#FA5A5A" p-id="51333"></path></svg>
											</a>
										</c:if>
									</c:otherwise>
								</c:choose>
							</td>
						</tr>
						</c:forEach>
					</table>
				</div>
				<div class="pagination ue-clear">
					<%--	分页--%>
					<%--		<nav aria-label="Page navigation">--%>
					<ul class="pagination">
						<%--				前一页--%>
						<c:choose>
							<c:when test="${pageInfo.isFirstPage}">
								<li>
									<a href="javascript:void(0)" aria-label="Previous">
										<span aria-hidden="true"><<</span>
									</a>
								</li>
							</c:when>
							<c:otherwise>
								<li>
									<a href="employerNotice?e_id=${employer.e_id}&&pageNum=${pageInfo.prePage}" aria-label="Previous">
										<span aria-hidden="true"><<</span>
									</a>
								</li>
							</c:otherwise>
						</c:choose>
						<%--			中间具体页数--%>
						<c:forEach items="${pageInfo.navigatepageNums}" var="pi">
							<li><a href="employerNotice?e_id=${employer.e_id}&&pageNum=${pi}">${pi}</a></li>
						</c:forEach>

						<%--			后一页--%>

						<c:choose>
							<c:when test="${pageInfo.isLastPage}">
								<li>
									<a href="javascript:void(0)" aria-label="Next">
										<span aria-hidden="true">>></span>
									</a>
								</li>
							</c:when>
							<c:otherwise>
								<li>
									<a href="employerNotice?e_id=${employer.e_id}&&pageNum=${pageInfo.nextPage}" aria-label="Next">
										<span aria-hidden="true">>></span>
									</a>
								</li>
							</c:otherwise>
						</c:choose>
					</ul>
					<%--		</nav>--%>
				</div>
			</div>
		</div>
	</div>
</div>
</body>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/WdatePicker.js"></script>
<script type="text/javascript" src="js/jquery.pagination.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="js/jquery.dialog.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script>
	function employerSkip1(){ const e_id="${employer.e_id}"; location.href="employerRecommend?e_id="+e_id}
	function employerSkip7(){ const e_id="${employer.e_id}"; location.href="findAllCandidates?e_id="+e_id}
	function employerSkip5(){ const e_id="${employer.e_id}"; location.href="employerNotice?e_id="+e_id}
	function employerSkip6(){ const e_id="${employer.e_id}"; location.href="findAllAcceptedCandidatesByEId?e_id="+e_id}
	function employerSkip8(){ const e_id="${employer.e_id}"; location.href="findAllPositionsByEId?e_id="+e_id}

	const  msg="${message}";
	if(msg){
		alert(msg);
	}
</script>
</html>
